home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / orinf / may96 / feuef104.gif < prev    next >
Graphics Interchange Format  |  1996-07-23  |  48KB  |  342x436  |  8-bit (168 colors)
Labels: text | screenshot | number | font | parallel | document | line
OCR: Element Description Type en_general_error Error number and exception Public variable exc_general_error for general errors. and exception en must be eighteen Error number and exception Public variable exc must be_eighteen for employees who are not 18 and exception en_sal exceeds max Error number and exception Public variable exc sal exceeds max for salaries which exceed and exception the allowed maximum. raise_error Raises the error with the Public appropriate message procedure using the built-in' RAISE APPLICATION_ERROR procedure, display_error Displays the error indicated Public by the SQLCODE function. procedure You can also provide an allernate message and log the error to a table. en_invalid_error Upward-bound of valid exor Private constant numbers for use in the table. max_error_number_used Highest error number currently Private constant in use. Need this for access to the PL/SQL table. error_msg_fabtype The type of table defined to Private table hold the error messages. error _msg_table The table of error messages. Private table Figure 4: The elements of the exchdir package.